    <?php
use think\facade\Route;

/** 接口路由 */
Route::group('classes', function () {
    Route::group('<id>', function(){
        Route::get('menu', 					'@getCourseMenu');
	    Route::get('students', 				'@getClassesStudents');
	    Route::delete('student/<user_id>', 	"@removeStudent");

    })->pattern(['id' => '\d+', 'user_id' => '\d+']);

    Route::get('teach', 	'@getTeacherClasses');

})->prefix('\app\course\service\classes\Classes')->middleware(['withoutLogin']);
